package com.lean.android.ad.repository.localcache

import androidx.annotation.Keep
import com.lean.android.cache.CacheFactory
import com.lean.android.cache.boolCacheWithDefault

@Keep
object AdSwitchCache {

    private val cache by lazy {
        CacheFactory.createCache("adSwitch")
    }

    internal var isCompliance by boolCacheWithDefault(false) {
        cache
    }

    internal var adSwitch by boolCacheWithDefault(true) {
        cache
    }

}